package org.py.mymodule.submodule.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-08-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("costomer")
@ApiModel(value="Costomer对象", description="")
public class Costomer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "costomer_id", type = IdType.AUTO)
    private Integer costomerId;

    private String costomerName;

    private String costomerType;

    private String costomerAddress;

    private String costomerPhone;

    private Integer costomerIntegral;

    public Costomer(String costomerName, String costomerType, String costomerAddress, String costomerPhone,Integer costomerIntegral) {
        this.costomerName = costomerName;
        this.costomerType = costomerType;
        this.costomerAddress = costomerAddress;
        this.costomerPhone = costomerPhone;
        this.costomerIntegral = costomerIntegral;
    }

    public Costomer() {
    }
}
